package com.jbit.hxy.service.user;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jbit.hxy.common.Result;
import com.jbit.hxy.model.dto.AdminFromDTO;
import com.jbit.hxy.model.dto.AdminQueryDTO;
import com.jbit.hxy.model.po.Admin;

public interface AdminService extends IService<Admin> {

    Result getAdminList(AdminQueryDTO adminQueryDTO);

    Result addAdmin(AdminFromDTO adminFromDTO);

    Result updateAdmin(AdminFromDTO adminFromDTO);

    Result deleteAdmin(Long id);
}
